package com.suneee.trades.resource;

import com.suneee.context.processor.resource.ResourceEnum;
import com.suneee.context.processor.resource.ResourceGroup;

@ResourceGroup(key = "trades.status", value = "交易状态")
public enum TradesStatus implements ResourceEnum {

	TRADE_NO_CREATE_PAY("没有创建支付宝交易号"), 
	WAIT_BUYER_PAY("等待买家付款"),
	SELLER_CONSIGNED_PART("卖家部分发货"), 
	WAIT_SELLER_SEND_GOODS("等待卖家发货,即:买家已付款"), 
	WAIT_BUYER_CONFIRM_GOODS("等待买家确认收货,即:卖家已发货"),
	TRADE_BUYER_SIGNED("买家已签收,货到付款专用"),
	TRADE_FINISHED("交易成功"),
	TRADE_CLOSED("付款以后用户退款成功，交易自动关闭"),
	TRADE_CLOSED_BY_TAOBAO("付款以前，卖家或买家主动关闭交易"),
	PAY_PENDING("国际信用卡支付付款确认中"),
	WAIT_PRE_AUTH_CONFIRM("0元购合约中"),
	;

	private String value;

	private TradesStatus(String value) {
		this.value = value;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
}
